<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('think', function () {
    return 'hello,ThinkPHP6!';
});

Route::get('hello/:name', 'index/hello');
//1400接口
Route::rule('/VIID/faces', 'ViidDevice/face');//
Route::rule('/VIID/System/Keepalive', 'ViidDevice/keep_live');
Route::rule('/VIID/System/Register', 'ViidDevice/register');
Route::rule('/VIID/Subscribes', 'ViidDevice/Subscribes');
Route::rule('/VIID/MotorVehicles', 'ViidDevice/motor_vehicle');
Route::rule('/api/apply/access/:areaname', 'Apply/access');
Route::rule('/api/apply/callback/:id', 'Apply/callback');
//臻识http的接口
Route::rule('/api/face_in', 'Faces/facein');
Route::rule('/api/car_in', 'Faces/carin');
Route::rule('/api/car_in_hik', 'Faces/carin_hik');
Route::rule('/api/visz_heartbeat', 'Faces/heartbeat');
Route::rule('/api/datacenter/login', 'Datacenter/login');
Route::rule('/api/datacenter/userin', 'Datacenter/userin');
Route::rule('/api/datacenter/facelogin', 'Datacenter/facelogin');
Route::rule('/api/datacenter/zonein', 'Datacenter/zonein');
Route::rule('/api/datacenter/capturein', 'Datacenter/capturein');
Route::rule('/api/datacenter/devicein', 'Datacenter/devicein');
Route::rule('/api/datacenter/vehlogin', 'Datacenter/vehlogin');
Route::rule('/api/job', 'Job/compare_feature');

Route::rule('/api/se5_http', 'Sefive/http');
Route::rule('/api/se5_event', 'SefiveEvent/http');
